package com.example.exam.vo;

import com.example.exam.entity.Choice;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author shishuqian
 * date 2021/4/28
 * time 15:15
 **/
@Data
@ApiModel(value = "某个问题的填写数据vo")
public class QuestionAnalysisVO implements Serializable {
    //问题id
    @ApiModelProperty(value = "问题id",required = true,example = "454445")
    private Integer questionId;
    //问题内容
    @ApiModelProperty(value = "问题内容",required = true,example = "1+1等于几？")
    private String content;
    //问题类型
    @ApiModelProperty(value = "问题类型",required = true,example = "4")
    private String questionType;

    private Double score;  //问题分值(千分制)

    private Integer rowNum; //填空题空数/简答题行数
    //问题选项
    @ApiModelProperty(value = "问题选项",required = true)
    private List<Choice> choiceList;
}
